package com.dhcc.core.framework.datascope;

import java.util.List;

/**
 * 数据范围
 *
 * @author liqingyang
 * @date 2018-06-27 22:19
 */
public class DataScope {

    /**
     * 限制范围的字段名称
     */
    private String scopeName = "dept_id";

    /**
     * 具体的数据范围
     */
    private List<Long> deptIds;

    public DataScope() {
    }

	/** 
	 * @Title:DataScope
	 * @Description:TODO 
	 * @param deptIds 
	 */  
	public DataScope(List<Long> deptIds) {
		super();
		this.deptIds = deptIds;
	}

	/** 
	 * @Title:DataScope
	 * @Description:TODO 
	 * @param scopeName
	 * @param deptIds 
	 */  
	public DataScope(String scopeName, List<Long> deptIds) {
		super();
		this.scopeName = scopeName;
		this.deptIds = deptIds;
	}

	/**
	 * @return the scopeName
	 */
	public String getScopeName() {
		return scopeName;
	}

	/**
	 * @param scopeName the scopeName to set
	 */
	public void setScopeName(String scopeName) {
		this.scopeName = scopeName;
	}

	/**
	 * @return the deptIds
	 */
	public List<Long> getDeptIds() {
		return deptIds;
	}

	/**
	 * @param deptIds the deptIds to set
	 */
	public void setDeptIds(List<Long> deptIds) {
		this.deptIds = deptIds;
	}

   
}
